package top.huhuiyu.ds;

import java.util.LinkedList;
import java.util.Queue;

/**
 * 
 * @author Aiden Pearce
 *
 */
public class MyQueueDome {
public static void main(String[] args) {
  MyQueue<Integer>queue=new MyQueue<>();
  System.out.println(queue.isEmpty());
  System.out.println(queue.size());
  queue.offer(200);
  queue.offer(100);
  System.out.println(queue.isEmpty());
  System.out.println(queue.size());
  System.out.println(queue.peek());
  System.out.println(queue.poli());
  queue.offer(300);
  System.out.println(queue.poli());
  
  Queue<Integer> q=new LinkedList<>();
  
}

}
